using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("SeasonEndDialog")]
	public class SeasonEndDialog : DialogBase
	{
		[Attribute38("SeasonEndDialog.SeasonEndInfo")]
		public class SeasonEndInfo : MonoClass
		{
			public int m_seasonID => method_2<int>("m_seasonID");

			public int m_rank => method_2<int>("m_rank");

			public int m_chestRank => method_2<int>("m_chestRank");

			public int m_legendIndex => method_2<int>("m_legendIndex");

			public int m_bonusStars => method_2<int>("m_bonusStars");

			public int m_boostedRank => method_2<int>("m_boostedRank");

			public List<RewardData> m_rankedRewards => method_3<Class271<RewardData>>("m_rankedRewards")?.method_25();

			public List<long> m_noticesToAck => method_3<Class270<long>>("m_noticesToAck")?.method_25();

			public bool m_isWild => method_2<bool>("m_isWild");

			public bool m_isFake => method_2<bool>("m_isFake");

			public SeasonEndInfo(IntPtr address, string className)
				: base(address, className)
			{
			}

			public SeasonEndInfo(IntPtr address)
				: this(address, "SeasonEndInfo")
			{
			}
		}

		public enum MODE
		{
			RANK_EARNED,
			CHEST_EARNED,
			SEASON_WELCOME,
			BONUS_STARS,
			BOOSTED_WELCOME
		}

		public UIBButton m_okayButton => method_3<UIBButton>("m_okayButton");

		public Vector3 m_loadPosition => method_2<Vector3>("m_loadPosition");

		public Vector3 m_showPosition => method_2<Vector3>("m_showPosition");

		public GameObject m_boostedMedalBone => method_3<GameObject>("m_boostedMedalBone");

		public GameObject m_boostedMedalLeftFiligreeBone => method_3<GameObject>("m_boostedMedalLeftFiligreeBone");

		public GameObject m_boostedMedalRightFiligreeBone => method_3<GameObject>("m_boostedMedalRightFiligreeBone");

		public GameObject m_rewardChestPage => method_3<GameObject>("m_rewardChestPage");

		public PegUIElement m_rewardChest => method_3<PegUIElement>("m_rewardChest");

		public UberText m_rewardChestHeader => method_3<UberText>("m_rewardChestHeader");

		public UberText m_rewardChestInstructions => method_3<UberText>("m_rewardChestInstructions");

		public GameObject m_rewardChestLeftFiligreeBone => method_3<GameObject>("m_rewardChestLeftFiligreeBone");

		public GameObject m_rewardChestRightFiligreeBone => method_3<GameObject>("m_rewardChestRightFiligreeBone");

		public GameObject m_rewardBoxesBone => method_3<GameObject>("m_rewardBoxesBone");

		public NestedPrefab m_medalContainer => method_3<NestedPrefab>("m_medalContainer");

		public UberText m_header => method_3<UberText>("m_header");

		public UberText m_rankAchieved => method_3<UberText>("m_rankAchieved");

		public UberText m_rankName => method_3<UberText>("m_rankName");

		public UberText m_rankPercentile => method_3<UberText>("m_rankPercentile");

		public GameObject m_ribbon => method_3<GameObject>("m_ribbon");

		public GameObject m_nameFlourish => method_3<GameObject>("m_nameFlourish");

		public GameObject m_welcomeItems => method_3<GameObject>("m_welcomeItems");

		public GameObject m_leftFiligree => method_3<GameObject>("m_leftFiligree");

		public GameObject m_rightFiligree => method_3<GameObject>("m_rightFiligree");

		public UberText m_welcomeDetails => method_3<UberText>("m_welcomeDetails");

		public UberText m_welcomeTitle => method_3<UberText>("m_welcomeTitle");

		public GameObject m_shieldIcon => method_3<GameObject>("m_shieldIcon");

		public GameObject m_bonusStarItems => method_3<GameObject>("m_bonusStarItems");

		public UberText m_bonusStarTitle => method_3<UberText>("m_bonusStarTitle");

		public UberText m_bonusStarLabel => method_3<UberText>("m_bonusStarLabel");

		public GameObject m_bonusStar => method_3<GameObject>("m_bonusStar");

		public UberText m_bonusStarText => method_3<UberText>("m_bonusStarText");

		public GameObject m_bonusStarFlourish => method_3<GameObject>("m_bonusStarFlourish");

		public Material m_transparentMaterial => method_3<Material>("m_transparentMaterial");

		public GameObject m_legendaryGem => method_3<GameObject>("m_legendaryGem");

		public List<PegUIElement> m_rewardChests => method_3<Class271<PegUIElement>>("m_rewardChests")?.method_25();

		public SeasonEndInfo m_seasonEndInfo => method_3<SeasonEndInfo>("m_seasonEndInfo");

		public bool m_earnedRewardChest => method_2<bool>("m_earnedRewardChest");

		public MODE m_currentMode => method_2<MODE>("m_currentMode");

		public bool TESTING => method_2<bool>("TESTING");

		public int m_bonusStars => method_2<int>("m_bonusStars");

		public bool m_chestOpened => method_2<bool>("m_chestOpened");

		public TournamentMedal m_medal => method_3<TournamentMedal>("m_medal");

		public static List<string> s_percentiles => MonoClass.smethod_7<Class249>(TritonHs.MainAssemblyPath, "", "SeasonEndDialog", "s_percentiles")?.method_25();

		public SeasonEndDialog(IntPtr address, string className)
			: base(address, className)
		{
		}

		public SeasonEndDialog(IntPtr address)
			: this(address, "SeasonEndDialog")
		{
		}

		public static string GetRankPercentile(int rank)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "SeasonEndDialog", "GetRankPercentile", rank);
		}

		public new void Awake()
		{
			method_8("Awake");
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Init(SeasonEndInfo info)
		{
			method_8("Init", info);
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void ShowMedal()
		{
			method_8("ShowMedal");
		}

		public void HideMedal()
		{
			method_8("HideMedal");
		}

		public void ShowRewardChest()
		{
			method_8("ShowRewardChest");
		}

		public void HideRewardChest()
		{
			method_8("HideRewardChest");
		}

		public void HideBonusStarText()
		{
			method_8("HideBonusStarText");
		}

		public void MedalAnimationFinished()
		{
			method_8("MedalAnimationFinished");
		}

		public void GotoBonusStarsOrWelcome()
		{
			method_8("GotoBonusStarsOrWelcome");
		}

		public void GotoBonusStars()
		{
			method_8("GotoBonusStars");
		}

		public void GotoBoostedMedal()
		{
			method_8("GotoBoostedMedal");
		}

		public void StarBurstFinished()
		{
			method_8("StarBurstFinished");
		}

		public void GotoSeasonWelcome()
		{
			method_8("GotoSeasonWelcome");
		}

		public void PageTearFinished()
		{
			method_8("PageTearFinished");
		}

		public void MedalInFinished()
		{
			method_8("MedalInFinished");
		}

		public new void Show()
		{
			method_8("Show");
		}

		public new void Hide()
		{
			method_8("Hide");
		}

		public new void OnHideAnimFinished()
		{
			method_8("OnHideAnimFinished");
		}

		public void OkayButtonReleased(UIEvent e)
		{
			method_8("OkayButtonReleased", e);
		}

		public void ChestButtonReleased(UIEvent e)
		{
			method_8("ChestButtonReleased", e);
		}

		public void OpenRewards()
		{
			method_8("OpenRewards");
		}

		public void FadeEffectsIn()
		{
			method_8("FadeEffectsIn");
		}

		public void FadeEffectsOut()
		{
			method_8("FadeEffectsOut");
		}

		public string GetSeasonName(int seasonID)
		{
			return method_13("GetSeasonName", seasonID);
		}

		public string GetInlineSeasonName(int seasonID)
		{
			return method_13("GetInlineSeasonName", seasonID);
		}

		public void OnSceneLoaded(SceneMgr.Mode mode, PegasusScene scene, object userData)
		{
			method_8("OnSceneLoaded", mode, scene, userData);
		}
	}
}
